package pojo.Homework

object MyClass03 {
  def main(args: Array[String]): Unit = {
    val student3: Student3 = new Student3("张无忌", 25)
    println(student3.name)
    println(student3.age)
  }

  class Student3(var name: String, var age: Int) {
    println("student3主构造器初始化")
    var address: String = _
  }

}
